From: Timo Röhling Date: Sat, 12 Feb 2022 23:58:29 +0000 (+0100) Subject: Ensure proper alignment of resgen _OFFSET and _SIZE variables X-Git-Tag: archive/raspbian/1.9.25+dfsg3-1+rpi1^2~57 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=11e815e9cd9a366dfc3e5051c0e20fc6c8522a83;p=filament.git Ensure proper alignment of resgen _OFFSET and _SIZE variables --- diff --git a/debian/patches/0015-Ensure-proper-alignment-of-resgen-_OFFSET-and-_SIZE-.patch b/debian/patches/0015-Ensure-proper-alignment-of-resgen-_OFFSET-and-_SIZE-.patch new file mode 100644 index 0000000..e968a7b --- /dev/null +++ b/debian/patches/0015-Ensure-proper-alignment-of-resgen-_OFFSET-and-_SIZE-.patch @@ -0,0 +1,20 @@ +From: =?utf-8?q?Timo_R=C3=B6hling?= +Date: Sun, 13 Feb 2022 00:58:20 +0100 +Subject: Ensure proper alignment of resgen _OFFSET and _SIZE variables + +--- + tools/resgen/src/main.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/resgen/src/main.cpp b/tools/resgen/src/main.cpp +index e126b34..083e7d6 100644 +--- a/tools/resgen/src/main.cpp ++++ b/tools/resgen/src/main.cpp +@@ -312,6 +312,7 @@ int main(int argc, char* argv[]) { + << " extern int " << prname << "_SIZE;\n"; + + dataAsmStream ++ << " .balign 8\n" + << prname << "_OFFSET:\n" + << " .int " << offset << "\n" + << prname << "_SIZE:\n" diff --git a/debian/patches/series b/debian/patches/series index 6fa4912..5dbb9f8 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -12,3 +12,4 @@ 0012-Use-system-spirv-cross.patch 0013-Define-M_PIf-only-if-it-is-not-already-defined-in-ma.patch 0014-Avoid-mips-as-identifier-because-it-fails-on-mips-ar.patch +0015-Ensure-proper-alignment-of-resgen-_OFFSET-and-_SIZE-.patch